package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author 朱梦晨
 * @Description: 新增品牌手机号
 * @date 2024-07-13
 */
@Data
@ApiModel("新增品牌手机号dao")
public class UserCreatorPhoneAddDTO {

    private Long id;
    /**
     * daoId
     */
    @ApiModelProperty("daoId")
    @NotNull(message = "请选择品牌")
    private Long daoId;

    /**
     * dao品牌名称
     */
    @ApiModelProperty("dao品牌名称")
    private String daoName;

    /**
     *修改手机号
     */
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不能为空")
    @Pattern(regexp = "1[3-9][0-9]\\d{8}", message = "手机号格式不正确")
    private String updateFrontTel;



}
